package windbell.domain.risk.events;

import edu.fudan.langlab.domain.document.IDocument;
import edu.fudan.mylang.pf.event.IEntityEventsListner;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
import windbell.domain.risk.RiskReport;

public interface RiskReportEventsListener extends IEntityEventsListner<RiskReport> {
  public abstract void finish(final RiskReport entity);
  
  public abstract void update(final RiskReport entity, final Procedure1<? super RiskReport> updater);
  
  public abstract void createDocument(final RiskReport entity, final Procedure1<? super IDocument> init);
  
  public abstract void removeDocument(final RiskReport entity, final IDocument document);
  
  public abstract void reopen(final RiskReport entity);
}
